Skip to main content

HubSpot Scope

AutomatR.HubSpot.Activities.HubSpotScope

The "HubSpot Scope" activity in AutomatR is part of the HubSpot activities package, providing OAuth authentication setup for HubSpot integration. This activity allows users to configure and authenticate their HubSpot account to perform various actions within workflows.

Properties

NameDescription
Misc
Display NameProvides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name.
Optional
DelayEnter the wait time in seconds (Example 5 seconds i.e. 5) to start the activity.
Refresh TokenClick to browse for the refresh token and select the email ID associated with your HubSpot account. This enables the capture of the API token required to access your HubSpot account.
Client IDEnter the client ID for your HubSpot user's account.
Client Secret KeyEnter the Client Secret Key for your HubSpot user's account.
Output
(Internal)The activity internally outputs the HubSpot client and access token, which are used in subsequent actions within the HubSpot scope.
BodyA sequence of activities within the HubSpot scope.

How to use:

  1. Drag and drop the "HubSpot Scope" activity onto the workflow.
  2. Configure the properties by providing the necessary authentication details, such as client ID and client secret key.
  3. Optionally, configure the delay and refresh token.
  4. Create a sequence of activities within the HubSpot scope to perform actions using the authenticated HubSpot account.

Example: Consider an example where the "HubSpot Scope" activity is used to authenticate a HubSpot account:

HubSpot Scope:
Client ID: "your_client_id"
Client Secret Key: "your_client_secret_key"
Refresh Token: refreshTokenDetails
Delay: 5
Body:
// Activities within the HubSpot scope

In this example, the activity authenticates the HubSpot account using the provided client ID and client secret key. The refresh token details are stored in the variable "refreshTokenDetails" for further use within the workflow. The activities within the "Body" of the scope can now perform actions using the authenticated HubSpot account.